export default {
    url: "/bpm/form/list",
    method: "GET",
    name: "查询表单列表",
    desc: `得到表单的所有分类和表单，并整理成树形结构，返回的第一层为表单分类，第二层为表单列表
    `,
    req:[
    ],
    resp:[
        {
            en: "id",
            cn: "分类ID",
            type:"string"
        },
        {
            en: "text",
            cn: "分类名",
            type:"string"
        },
        {
            en: "pid",
            cn: "该分类的父级分类ID，因系统只支持一级分类，所以暂时无实际意义",
            type:"string"
        },
        {
            en: "children",
            cn: "该分类下的表单",
            type: "object[]",
            children:[
                {
                    en: "id",
                    cn:"表单ID",
                    type:"string"
                },
                {
                    en: "text",
                    cn: "表单名",
                    type: "string"
                },
                {
                    en: "type",
                    cn: "类型，cat为分类，form为表单",
                    type:"string"
                }
            ]
        },
        {
            en: "type",
            cn: "类型，cat为分类，form为表单",
            type:"string"
        }
    ],
    respEg: {"success":true,"errMessage":"","data":[{"_id":"5d36b27a561ed7372163fd88","id":"5d36b27a561ed7372163fd88","text":"信贷业务","pid":null,"type":"cat","children":[{"id":"5d36bc43561ed7372163fd89","text":"信贷业务效率","type":"form"}],"state":{"opened":true}},{"_id":"5d3ed0467564ee3212c56f92","id":"5d3ed0467564ee3212c56f92","text":"行政审批","pid":null,"type":"cat","children":[{"id":"5d4cdefcef036a76c3fc3d1d","text":"请假审批单","type":"form"},{"id":"5d55701f9bc5767ae3eee2f7","text":"车辆使用申请单","type":"form"},{"id":"5d6340f8779c5a7d8a6c3aae","text":"出差申请单","type":"form"},{"id":"5d6d27d3a1a81b4b6e131651","text":"文件传阅","type":"form"},{"id":"5d81905f8278897f258a890a","text":"离职申请","type":"form"},{"id":"5da32964bc9ee358eec00fda","text":"任务分配","type":"form"},{"id":"5da96aa468cc8d08a20db27b","text":"会议通知","type":"form"},{"id":"5db5add7e181d7650a217a49","text":"任务单","type":"form"},{"id":"5db7d8c150a71c6260a9d0ff","text":"外出申请表","type":"form"},{"id":"5db7e49750a71c6260a9d213","text":"投标申请表","type":"form"},{"id":"5dba87a0c33c327f1bab960d","text":"会议通知","type":"form"},{"id":"5db8f716afa6690263279d24","text":"工作督办","type":"form"}],"state":{"opened":true}},{"_id":"5d6da43978a7e0489445d48f","id":"5d6da43978a7e0489445d48f","text":"测试专用","pid":null,"type":"cat","children":[{"id":"5d6da48178a7e0489445d493","text":"测试表单","type":"form"},{"id":"5d6dd0c33d2ceb0065dfb2ea","text":"测试表单副本","type":"form"},{"id":"5d6f40a2bff7457394f2e0b1","text":"测试图片控件","type":"form"},{"id":"5d7dd0957836c93cabb72192","text":"测试数据源控件","type":"form"},{"id":"5d833e1e3c9a8218ed6812a1","text":"测试表单副本01","type":"form"},{"id":"5d84742de6c52e6eae80b5e7","text":"测试复选","type":"form"},{"id":"5d8d7b64636a9877b27d66dd","text":"测试附件控件","type":"form"},{"id":"5db24aeb4f47dc10bf1885da","text":"测试选择部门","type":"form"},{"id":"5db261504f47dc10bf1885f6","text":"测试动态并发","type":"form"},{"id":"5dc3bd26dfcd6d78b48ff7f1","text":"触发器表单","type":"form"},{"id":"5dca0c0af1052946f715a9a4","text":"统计表单","type":"form"},{"id":"5dcb6a2d2af16a30aa6e7792","text":"移动的测试表单","type":"form"},{"id":"5dd6517be30b646a180a3bb7","text":"测试多个表单选人","type":"form"}],"state":{"opened":true}},{"_id":"5d770397e6c1432ba6696d9a","id":"5d770397e6c1432ba6696d9a","text":"物品领用","pid":null,"type":"cat","children":[],"state":{"opened":true}},{"_id":"5d70832c9f052627d0252881","id":"5d70832c9f052627d0252881","text":"网点服务管理","pid":null,"type":"cat","children":[{"id":"5d89802292efaf3eb552fa18","text":"网点意见表单","type":"form"},{"id":"5d8b0c2dbffdef5135d435de","text":"网点意见表单-测试","type":"form"}],"state":{"opened":true}},{"_id":"5dca6429ac647c5af7994313","id":"5dca6429ac647c5af7994313","text":"测试分类","pid":null,"type":"cat","children":[{"id":"5dca65fbac647c5af7994314","text":"测试表单用","type":"form"}],"state":{"opened":true}},{"_id":"5dde142bc917ea55c2dc9340","id":"5dde142bc917ea55c2dc9340","text":"csfsadf ","pid":null,"type":"cat","children":[{"id":"5dde1440c917ea55c2dc9341","text":"121413","type":"form"}],"state":{"opened":true}},{"_id":"5dfad98d246964039d3da905","id":"5dfad98d246964039d3da905","text":"新分类","pid":null,"type":"cat","children":[],"state":{"opened":true}},{"_id":"5e001e76da52d8172c60c5dd","id":"5e001e76da52d8172c60c5dd","text":"新分类","pid":null,"type":"cat","children":[],"state":{"opened":true}},{"_id":"5e007531da52d8172c60c600","id":"5e007531da52d8172c60c600","text":"新分类","pid":null,"type":"cat","children":[],"state":{"opened":true}},{"_id":"5e007535da52d8172c60c601","id":"5e007535da52d8172c60c601","text":"新分类","pid":null,"type":"cat","children":[],"state":{"opened":true}}]}
}